#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
const int N = 42;
typedef long long LL;
int arr[N];
int n;
int main()
{
	int t;
	cin >> t;
	while (t--) {
		for (int i = 0; i < 3; i++) {
			cin >> arr[i];
		}
		bool flag = 0;
		sort(arr, arr + 3);
		if (arr[0] + arr[1] <= arr[2] || arr[2] - arr[0] >= arr[1]) {
			flag = 1;
		}
		if (flag) {
			cout << "NO" << endl;
		}
		else {
			cout << "YES" << endl;
		}
	}
	return 0;
}